/**
 * Created by mapbar_front on 2019/7/5.
 */
import React, { Component } from 'react';
// import target from './Utils';
import PubSub from 'wd-pub-sub';
export default class Acom extends Component{
    componentDidMount () {

    }
    // click () {
    //     target.fire({
    //         type: "message",
    //         message: 'hello,world'
    //     })
    // }

    click () {
        PubSub.notify('message', 'hello,world1123');
    }

    render() {
        return <div>Acom,<button onClick={() => this.click()}>传值</button></div>
    }
}